// function test(template, name, age) {
//   console.log(template)
//   console.log(name)
//   console.log(age)
// }
var Person = /** @class */ (function () {
    function Person(config) {
        this.config = config;
        console.log(config);
    }
    return Person;
}());
var p1 = new Person({
    name: 'zs',
    age: 18
});
var Sheep = /** @class */ (function () {
    function Sheep() {
    }
    Sheep.prototype.eat = function () {
        console.log("我吃草");
    };
    return Sheep;
}());
var p2 = new Sheep();
p2.eat();
